front-end annoying stuff