resize images + fixes