fixed create action to work with extension