cleanup, fix for screen resize