fix for restler api