fixed a bug with switching backgrounds
need to figure out the issue with the form