fixed setting of corret checked value in Input