Fixed how to get the size from the input dependency