css work, some bugfixing in erb files