fixed design bugs