Fixed deploy fab func