fixed an error in marta