fixed bug with afterproperties boolean value