make it work with dashed properties