fix nested props not working