remove functions for buttons