fixes layout logic
bump to version 1.3.1