fix positions and buttons