cant see where the code has anything to do with it as i stated its quite long
begining to feel its something to do with the programmer. when i use loader i program in circuit when i dont i use external programmer even though then fuses are the same and do a erase and a verfiy must be something different