fixes on api