fixed some debug and styling