fix element returns