bug fixes - vertical expansion