Bug correction on api public