fixes for pixel perfect