small fix for reusable code