fix aspect ratio bug