removes unecessary promise