Removed session from prepare