Removing alias phases causing segfaults