Fixed minnal api