Fixed parseInt usage