removing the checking out multiple times, somethings not working properly