fix a critical bug
change rendering parameters