How to Remove a Blank Page Generated by Logic