added type fix