fixing phantom paragraph issue