better behaviour of route decorator