corrected bug layout