Fixed Middle Bug