fighting end of input error and missing css