some memory optimazation
fixed header responsivness