Attempting to fix trajectory problem