Removed crashing code from POST