fixed buttons and changed the profile to be dynamic