Removed useless casting value to array