console clears after compile