6502 FIX and Debug

More fix and mistaken which i did in the code -_-'