fixed some problems with the lighting