Fix bad property assignment