small fix for elastic