added temporary solution to resize