fix bug for responsive