fixed some bugs, now has background