Resolved errors when compiling an new funtionality