fixing layout problem related to #217