Fixed pointer key bug