fix props registration