parseVal beginning is messed up