fix for vertical alignment not working