fixed the return values for the slide merge and new tile functions