minor style adjustment
dirty fix for resize problem